home *** CD-ROM | disk | FTP | other *** search
/ CyberMycha 2008 January / Cybermycha 1_2008.iso / Data.cab / _F45ED62EC46B4F4A9F0A548202062154 < prev    next >
Encoding:
Text File  |  2004-04-28  |  2.9 KB  |  148 lines

  1. $SPECPOW(f, 20)
  2.  
  3. Shader()
  4. {// >=gffx
  5.     NoLightmaps()
  6.     sortweight(SORTW)
  7.     Shaderquality(3)
  8.     Pass()
  9.     {
  10.         Pixelshader("TreeCross.psh")
  11.         VertexShader("TreeCross20.vsh")
  12.  
  13.         tmu()
  14.         {
  15.             Texture()
  16.             {
  17.                 Image(TEXTURE1)
  18.                 addressfunc("clamp", "clamp", "clamp")
  19.             }
  20.         }
  21.  
  22.         !include("__CloudsVSTrees.mtt")
  23.  
  24.         BlendFunc("src_alpha", "inv_src_alpha")
  25.         AlphaFunc("gequal", 1)
  26.         depthfunc("lequal", 0)
  27.     }
  28.     Cull("none")
  29. }
  30.  
  31.  
  32. Shader()
  33. {// >=gffx
  34.     NoLightmaps()
  35.     sortweight(SORTW)
  36.     Shaderquality(1)
  37.     Pass()
  38.     {
  39.         Pixelshader("TreeCrossVeryLow.psh")
  40.         VertexShader("TreeCrossVeryLow20.vsh")
  41.  
  42.         tmu()
  43.         {
  44.             Texture()
  45.             {
  46.                 Image(TEXTURE1)
  47.                 addressfunc("clamp", "clamp", "clamp")
  48.             }
  49.         }
  50.  
  51.         BlendFunc("src_alpha", "inv_src_alpha")
  52.         AlphaFunc("gequal", 1)
  53.         depthfunc("lequal", 0)
  54.     }
  55.     Cull("none")
  56. }
  57.  
  58. Shader()
  59. {// >=gf3
  60.     NoLightmaps()
  61.     sortweight(SORTW)
  62.     Shaderquality(3)
  63.     Pass()
  64.     {
  65.         Pixelshader("TreeCross.psh")
  66.         VertexShader("TreeCross.vsh")
  67.  
  68.         tmu()
  69.         {
  70.             Texture()
  71.             {
  72.                 Image(TEXTURE1)
  73.                 addressfunc("clamp", "clamp", "clamp")
  74.             }
  75.         }
  76.  
  77.         !include("__CloudsVSTrees.mtt")
  78.  
  79.         BlendFunc("src_alpha", "inv_src_alpha")
  80.         AlphaFunc("gequal", 1)
  81.         depthfunc("lequal", 0)
  82.     }
  83.     Cull("none")
  84. }
  85.  
  86. Shader()
  87. {// >=g3
  88.     NoLightmaps()
  89.     sortweight(SORTW)
  90.     Shaderquality(1)
  91.     Pass()
  92.     {
  93.         Pixelshader("TreeCrossVeryLow.psh")
  94.         VertexShader("TreeCrossVeryLow.vsh")
  95.  
  96.         tmu()
  97.         {
  98.             Texture()
  99.             {
  100.                 Image(TEXTURE1)
  101.                 addressfunc("clamp", "clamp", "clamp")
  102.             }
  103.         }
  104.  
  105.         BlendFunc("src_alpha", "inv_src_alpha")
  106.         AlphaFunc("gequal", 1)
  107.         depthfunc("lequal", 0)
  108.     }
  109.     Cull("none")
  110. }
  111.  
  112. Shader()
  113. {
  114.     NoLightmaps()
  115.     sortweight(SORTW)
  116.     Pass()
  117.     {
  118.         tmu()
  119.         {
  120.             colorop("add", "tfactor", "tfactor_a", "current")
  121.         }
  122.  
  123.         tmu()
  124.         {
  125.             texture()
  126.             {
  127.                 Mapchannel(0)
  128.                 image(TEXTURE1)
  129.                 addressfunc("clamp", "clamp", "clamp")
  130.             }
  131.             ColorOp("mul", "texture", "current", "current")
  132.             AlphaOp("arg1", "texture", "current", "current")
  133.         }
  134.  
  135.         Tfactor(%daycolor_r, %daycolor_g, %daycolor_b, %daycolor_a)
  136.         colorgen("tfactor", "user", 0, 0, 0, "user", 0, 0, 0)
  137.  
  138.         BlendFunc("src_alpha","inv_src_alpha")
  139.         AlphaFunc("greater", 1 )
  140.         depthfunc("lequal", 0)
  141.     }
  142.  
  143.     Cull("none")
  144. }
  145.  
  146.  
  147.  
  148.